package fr.generali.sas.service.provider;

import org.springframework.stereotype.Component;

@Component("hsqlDBSequenceProvider")
public class HsqlDBSequenceProvider extends DBSequenceProvider {

	@Override
	public int getNextSequenceNumber() {
		return this.jdbcTemplate.queryForInt("select next value for " + this.sequenceName+" from dual", new Object[] {});
	}

}
